<template>
    <div id="app">
        <keep-alive>
            <router-view v-if="$route.meta.keepAlive"></router-view>
        </keep-alive>
        <router-view v-if="!$route.meta.keepAlive"></router-view>
        <tab></tab>
    </div>
</template>

<script type="text/ecmascript-6">
import Tab from './views/tab'

export default {
    components: {
        Tab
    }
}
</script>

<style scoped lang="stylus" rel="stylesheet/stylus">
</style>